<?php

namespace App\Models;

use Eloquent as Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class Store
 * @package App\Models
 * @version April 4, 2018, 11:31 pm CST
 *
 * @property string store_name
 * @property int type
 * @property int fee_type
 * @property string phone
 * @property phone address
 * @property string note
 * @property int flag
 */
class Store extends Model
{
//    use SoftDeletes;

    public $table = 'store';

    protected $primaryKey = "id";

    protected $dates = ['deleted_at'];


    public $fillable = [
        'store_name',
        'type',
        'fee_type',
        'money',
        'phone',
        'address',
        'note',
        'flag',
        'duration',
        'vpl_status',
        'start_time',
        'end_time',
        'start_hour',
        'end_hour',
        'settle_period',
        'settle_time',
        'park_ids',
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'store_name' => 'string',
        'phone' => 'string',
        'note' => 'string'
    ];


}
